package com.feishi.core.util.timer;

/**
 * Created by caixq on 4/17 017.
 */
public class ExecuteRule {
    private long sleepTime=1000;
    private float coefficient=1;
    private int maxTime=-1;

    public long getSleepTime() {
        return sleepTime;
    }

    public void setSleepTime(long sleepTime) {
        this.sleepTime = sleepTime;
    }

    public float getCoefficient() {
        return coefficient;
    }

    public void setCoefficient(float coefficient) {
        this.coefficient = coefficient;
    }

    public int getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(int maxTime) {
        this.maxTime = maxTime;
    }

    public ExecuteRule(long sleepTime, float coefficient, int maxTime) {
        this.sleepTime = sleepTime;
        this.coefficient = coefficient;
        this.maxTime = maxTime;
    }
}
